package com.wyw.design.model.learning.behavioral.status;

/**
 * @Title   具体状态2
 * @Description
 * @Author Mr Wu yewen.wu.china@gmail.com
 * @Date 2023/4/19 9:45
 * Update History:
 * Author        Time            Content
 */
public class ConcreteState2 extends State {
    @Override
    void handle1() {
        super.context.setCurrentState(Ctx.state1);
        super.context.request1();
    }
    @Override
    void handle2() {
        // 本状态ConcreteState2时的业务逻辑
    }
}
